<%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8"%>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags"%>


<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="robots" content="follow, index" />
<meta name="author" content="iune co." />
<meta name="description"
	content="IUNE有最好的库存管理SaaS软件。以更快更高的准确度，跟进实时数据的访问和库存移动。" />
<meta name="keywords"
	content="库存, 存货管理, 库存管理, 仓库管理, 云ERP, 云逸ERP, 中小型企业云ERP, SaaS ERP软件/系统" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title></title>

<style type="text/css">
td {
	padding: 0px;
	width: 100px;
}
</style>

</head>
<body>



	<div class="container-fluid"
		data-ng-controller="storageItemBatchQueryListCtrl as Model">

		<div class="row">
			<div class="col-sm-12">
				<nav class="nav">
					<ul class="pagination navbar-left buttonBar">
						<li>
							<div class="btn-group" role="toolbar">
							</div>
						</li>
					</ul>

					<query-like data="Model.dataMaster" place-holder="模糊查询..."></query-like>
				
					<form class="navbar-form navbar-left buttonBar" style="padding-left:0px;padding-right:0px;">
				         <div class="form-group">
				 			<label class="control-label">物料号:</label>
				          	<grid-filter  placeholder="请输入物料编码" filter-data="Model.dataMaster" filter-relation="ItemBatch.itemNo" xid="gridFilter1" auto-refresh="false"></grid-filter>
				         </div>
				         <div class="form-group">
				 			<label class="control-label">仓库编码:</label>
				          	<grid-filter  placeholder="请输入仓库编码" filter-data="Model.dataMaster" filter-relation="FileStorage.storageNo" xid="gridFilter2" auto-refresh="false"></grid-filter>
				         </div>
				         <div class="form-group">
				 			<label class="control-label">库存数量:</label>
				          	<range-filter  placeholder="请输入日期" filter-data="Model.dataMaster" filter-relation="StorageItemBatch.quantityL" xid="rangeilter1" auto-refresh="false"></range-filter>
				         </div>
						<button type="button" class="btn btn-default" data-ng-click="Model.refresh()">
							<span class="glyphicon glyphicon-refresh"></span> 刷新
						</button>
				    </form>		

				</nav>

			</div>
		</div>

		<div class="row">
			<div class="col-sm-12">
			<div class="table-responsive">
				<table class="table table-hover table-condensed" style="margin:0px;">
					<thead>
						<tr>
							<th colspan="99"  style="padding:0px;">
							</th>
						</tr>

						<tr>
							<th></th>
							<th>#</th>
							<th hidden="true">状态</th>
							<th hidden="true">fID</th>

							<th hidden="true">子系统</th>
							<th hidden="true">单据类型</th>
							<th hidden="true">单据类型</th>
							<th>物料编码</th>
							<th>物料描述</th>
							<th hidden="hidden">基本计量单位代码</th>
							<th>单位</th>
							<th>数量</th>
							<th>金额</th>
							<th>件数</th>
							<th hidden="true">仓库代码</th>
							<th hidden="true">仓库</th>
							<th>库存地</th>
							<th hidden="true">storageID_tmp</th>
							<th>批号</th>
							<th>批说明</th>
							<th>保质期</th>
							<th>有效日期</th>
							<th>复检日期</th>
							<th hidden="true">公司</th>
						</tr>
					</thead>
					<tbody>
						<tr data-ng-show="row.userdata.recordState!='delete'"
							data-ng-class="{true:'active'}[Model.dataMaster.currentIndex==Model.dataMaster.rows.indexOf(row)]"
							data-ng-click="Model.dataMaster.onRowClick(row,$event)"
							data-ng-repeat="row in Model.dataMaster.rows">
							
							<td style="width: 10px;">
								<span data-ng-show="Model.dataMaster.currentIndex==Model.dataMaster.rows.indexOf(row)" class="glyphicon glyphicon-hand-right" aria-hidden="true"></span>
							</td>

							<td style="width: 10px;">
								<span ng-bind="Model.dataMaster.rows.indexOf(row)+1"></span>
							</td>
							<td style="width: 50px;" hidden="hidden"
								data-ng-bind="row.userdata.recordState"></td>
							<td style="width: 200px;" hidden="hidden"><span
								data-ng-bind="row.fID.value"></span></td>

							<td style="width: 100px;" hidden="hidden"><span
								data-ng-bind="row.systemCode.value"></span></td>
							<td style="width: 100px;" hidden="hidden"><span
								data-ng-bind="row.billType.value"></span></td>
							<td style="width: 100px;" hidden="hidden"><span
								data-ng-bind="row.billTypeName.value"></span></td>
							<td style="width: 100px;"><span
								data-ng-bind="row.itemNo.value"></span></td>
							<td style="width: 400px;"><span
								data-ng-bind="row.itemDescribe.value"></span></td>
							<td style="width: 100px;" hidden="hidden"><span
								data-ng-bind="row.unitCode.value"></span></td>
							<td style="width: 50px;"><span
								data-ng-bind="row.unitName.value"></span></td>
							<td style="width: 100px;"><span
								data-ng-bind="row.itemQuantityL.value"></span></td>
							<td style="width: 100px;"><span
								data-ng-bind="row.costingAmount.value"></span></td>
							<td style="width: 100px;"><span
								data-ng-bind="row.pieceQuantityL.value"></span></td>
							<td style="width: 100px;" hidden="true"><span
								data-ng-bind="row.storageNo.value"></span></td>
							<td style="width: 150px;" hidden="true"><span
								data-ng-bind="row.storageName.value"></span></td>
							<td style="width: 200px;"><span
								data-ng-bind="row.floorNo.value"></span></td>
							<td style="width: 100px;" hidden="true"><span
								data-ng-bind="row.storageID_tmp.value"></span></td>
							<td style="width: 100px;"><span
								data-ng-bind="row.batchNo.value"></span></td>
							<td style="width: 200px;"><span data-ng-bind="row.batchDescribe.value"></span></td>
							<td style="width: 120px;">
								<input type="checkbox" disabled="disabled" data-ng-model="row.qualityPeriod.value" data-ng-true-value="1" data-ng-false-value="0">
							</td>
							<td style="width: 120px;"><span data-ng-bind="row.validDate.value"></span></td>
							<td style="width: 120px;"><span data-ng-bind="row.checkoutAgainDate.value"></span></td>
							<td style="width: 200px;" hidden="hidden"><span
								data-ng-bind="row.enterpriseName.value"></span></td>

						</tr>

					</tbody>

					<tfoot>
						<tr>
							<th colspan="99"  style="padding:0px;">
							</th>
						</tr>
					</tfoot>

				</table>
			</div>

			</div>

		</div>

		<!-- 分页组件 -->
		<div class="row">
			<div class="col-sm-12">

				<pag-ination data="Model.dataMaster" first-text="首页"
					previous-text="上一页" next-text="下一页" last-text="末页"></pag-ination>

			</div>
		</div>
<br>

	</div>





</body>

</html>

